import junit.framework.TestCase;

public class TestCloud extends TestCase{
	public TestCloud(String testName) {
		super(testName);
	}

	public void testHedgehog() {
		Luminary lm = Luminary.IsNotShines;
		int wind = 6;
		Daytime dt = Daytime.Morning;

		Cloud cloud = new Cloud(lm, wind, dt);
		Baby baby = cloud.internalCreate();

		assertTrue(baby == Baby.Hedgehog);
		assertTrue(cloud.call() == Deliver.Daemon);
	}

	public void testPuppy() { //todo - change
		Luminary lm = Luminary.IsShines;
		int wind = 10;
		Daytime dt = Daytime.Night;

		Cloud cloud = new Cloud(lm, wind, dt);
		Baby baby = cloud.internalCreate();

		assertTrue(baby == Baby.Puppy);
		assertTrue(cloud.call() == Deliver.Stock);
	}

	public void testKitten() { //todo - change
		Luminary lm = Luminary.IsShines;
		int wind = 10;
		Daytime dt = Daytime.Morning;

		Cloud cloud = new Cloud(lm, wind, dt);
		Baby baby = cloud.internalCreate();

		assertTrue(baby == Baby.Kitten);
		assertTrue(cloud.call() == Deliver.Stock);
	}

	public void testBearcub() { //todo - change
		Luminary lm = Luminary.IsShines;
		int wind = 0;
		Daytime dt = Daytime.Night;

		Cloud cloud = new Cloud(lm, wind, dt);
		Baby baby = cloud.internalCreate();

		assertTrue(baby == Baby.Bearcub);
		assertTrue(cloud.call() == Deliver.Daemon);
	}
}
